import { getRequest, postRequest } from '@/api/api';

// Dashboard页面
export const getRecentVisitData = params => getRequest('/statistics/getRecentVisitData', params)
export const updateToDoItem = params => postRequest('/toDoItem/update', params)
export const getToDoList = params => postRequest('/toDoItem/getList', params)
export const deleteToDoItem = params => postRequest('/toDoItem/delete', params)
export const getOverView = params => getRequest('/statistics/getDataOverView', params)